package entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author ZL
 * @since 2022-11-12
 */
@Getter
@Setter
@TableName("indent")
public class Indent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 运单号
     */
    @TableField("odd")
    private Integer odd;

    /**
     * 发货人ID
     */
    @TableField("shipper_id")
    private String shipperId;

    /**
     * 司机ID
     */
    @TableField("driver_id")
    private String driverId;

    /**
     * 支付方式
     */
    @TableField("pay")
    private String pay;

    /**
     * 付款时间
     */
    @TableField("payment_time")
    private LocalDateTime paymentTime;

    /**
     * 完成时间
     */
    @TableField("completion_time")
    private LocalDateTime completionTime;

    /**
     * 订单金额
     */
    @TableField("waybill_money")
    private Integer waybillMoney;

    /**
     * 运单备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 订单状态
     */
    @TableField("dd_type")
    private String ddType;

    /**
     * 装车时间
     */
    @TableField("truck_loading_time")
    private LocalDateTime truckLoadingTime;

    /**
     * 卸货时间
     */
    @TableField("unload_time")
    private LocalDateTime unloadTime;

    /**
     * 货源表ID
     */
    @TableField("货源表ID")
    private Integer 货源表ID;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private String deleteFlag;


}
